export const SERVER = 'http://127.0.0.1:3000'
export const UPLOAD_PRODUCT_IMAGE = SERVER + '/products/images'
export const UPLOAD_PRODUCT_DETAIL_IMAGES = SERVER + '/products/detailImages'
export const API_CONFIG = {
    login: 					    ['/sessions/users',				'post'],
    logout: 				    ['/sessions/users',				'delete'],
    getCounts: 				    ['/counts',						'get'],
    getUserList: 			    ['/users/list',					'get'],
    addCategories: 			    ['/categories',					'post'],
    getlevelCategories: 	    ['/categories/levelCategories',	'get'],
    getCategoriesList: 		    ['/categories/list',			'get'],
    updateCategoriesName: 	    ['/categories/name',			'put'],
    updateCategoriesMobileName: ['/categories/mobilename',      'put'],
    updateCategoriesOrder:      ['/categories/order',           'put'],
    updateCategoriesIsShow:     ['/categories/isShow',          'put'],
}